package com.pzb.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pzb.common.core.domain.BaseEntity;

/**
 * 属性选项对象 gd_goods_attribute_option
 * 
 * @author Mr_Wu
 * @date 2021-11-29
 */
public class GdGoodsAttributeOption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;


    /** 属性ID */
    private Long attributeId;

    /** 选项名称 */
    private String optionName;

    /** 排序号 */
    private Integer sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAttributeId(Long attributeId) 
    {
        this.attributeId = attributeId;
    }

    public Long getAttributeId() 
    {
        return attributeId;
    }
    public void setOptionName(String optionName) 
    {
        this.optionName = optionName;
    }

    public String getOptionName() 
    {
        return optionName;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attributeId", getAttributeId())
            .append("optionName", getOptionName())
            .append("sort", getSort())
            .toString();
    }
}
